<template>
	<view>
		<model-calendar
		:sendYear="toYear" :sendMonth="toMonth"
		:dataSource="signData" :totalNum="sumCount"
		 @dateChange="getData" @clickChange="clickRegister"
		 ></model-calendar>
	</view>
</template>

<script>
	import modelCalendar from '@/components/calendar.vue';
	export default {
		data() {
			return {
				toYear: parseInt(new Date().getFullYear()), //本日
				toMonth: parseInt(new Date().getMonth() + 1), //本月
				sumCount: 0,
				signData: [],
				integralData:0
			};
		},
		components: {
			modelCalendar
		},
		methods:{
			clickRegister(day) {
				console.log(day);
			},
			getData(val) {
				
			}
		}
		
	}
</script>

<style lang="scss">

</style>
